package com.lhj.library.domain.convert;

import com.lhj.library.domain.entity.BookBO;
import com.lhj.library.domain.entity.RecordBO;
import com.lhj.library.domain.entity.UserBO;
import com.lhj.library.infra.basic.entity.Book;
import com.lhj.library.infra.basic.entity.Record;
import com.lhj.library.infra.basic.entity.User;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface RecordBoConverter {
    RecordBoConverter INSTANCE = Mappers.getMapper(RecordBoConverter.class);

    Record convertBoToRecord(RecordBO recordBO);

    List<RecordBO> convertRecordToBoList(List<Record> records);







}
